stumanage:main.o file_operation.o link_operation.o log.o print.o
	gcc main.o file_operation.o link_operation.o log.o print.o -o stumanage

main.o:main.c main.h student_info.h
	gcc -c main.c -o main.o

file_operation.o:file_operation.c file_operation.h student_info.h
	gcc -c file_operation.c -o file_operation.o

link_operation.o:link_operation.c link_operation.h student_info.h
	gcc -c link_operation.c -o link_operation.o

log.o:log.c log.h student_info.h
	gcc -c log.c -o log.o

print.o:print.c print.h student_info.h
	gcc -c print.c -o print.o

clean:
	rm -rf *.o student_manage
